.class Lcom/xingbook/a/g;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/xingbook/a/f;

.field private final synthetic b:Lcom/xingbook/a/b;

.field private final synthetic c:Lcom/xingbook/a/d;

.field private final synthetic d:Landroid/app/Activity;

.field private final synthetic e:Lcom/xingbook/a/a;


# direct methods
.method constructor <init>(Lcom/xingbook/a/f;Lcom/xingbook/a/b;Lcom/xingbook/a/d;Landroid/app/Activity;Lcom/xingbook/a/a;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/a/g;->a:Lcom/xingbook/a/f;

    iput-object p2, p0, Lcom/xingbook/a/g;->b:Lcom/xingbook/a/b;

    iput-object p3, p0, Lcom/xingbook/a/g;->c:Lcom/xingbook/a/d;

    iput-object p4, p0, Lcom/xingbook/a/g;->d:Landroid/app/Activity;

    iput-object p5, p0, Lcom/xingbook/a/g;->e:Lcom/xingbook/a/a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    iget-object v0, p0, Lcom/xingbook/a/g;->b:Lcom/xingbook/a/b;

    iget-object v1, p0, Lcom/xingbook/a/g;->c:Lcom/xingbook/a/d;

    invoke-virtual {v1}, Lcom/xingbook/a/d;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/a/b;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/alipay/android/app/sdk/AliPay;

    iget-object v2, p0, Lcom/xingbook/a/g;->d:Landroid/app/Activity;

    iget-object v3, p0, Lcom/xingbook/a/g;->e:Lcom/xingbook/a/a;

    invoke-direct {v1, v2, v3}, Lcom/alipay/android/app/sdk/AliPay;-><init>(Landroid/app/Activity;Landroid/os/Handler;)V

    invoke-virtual {v1, v0}, Lcom/alipay/android/app/sdk/AliPay;->pay(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    const/4 v2, 0x1

    iput v2, v1, Landroid/os/Message;->what:I

    iput-object v0, v1, Landroid/os/Message;->obj:Ljava/lang/Object;

    iget-object v0, p0, Lcom/xingbook/a/g;->e:Lcom/xingbook/a/a;

    invoke-virtual {v0, v1}, Lcom/xingbook/a/a;->sendMessage(Landroid/os/Message;)Z

    return-void
.end method
